package cn.kginglam.dynamic_excel.common.constant;

import cn.hutool.core.util.StrUtil;

/**
 * @author: Lam
 * @date: 2021-09-22 15:06
 * @description: key常量池
 */
public class KeyConstant {

    /* 学生Excel导入错误的信息 */
    public static final String STUDENT_EXCEL_ERROR_DATA = "STUDENT_EXCEL_ERROR_DATA:{}";

    /* 学生Excel导入完成标记 */
    public static final String STUDENT_EXCEL_IMPORT_FINISH_FLAG = "STUDENT_EXCEL_IMPORT_FINISH_FLAG:{}";




    public static String substitute(String key, String value) {
        return StrUtil.format(key, value);
    }
}
